package days48;

import java.util.Scanner;

public class day33 {
    public static void main1(String[] args) {
        Scanner scanner=new Scanner(System.in);
        while (scanner.hasNext()){
//            int n=scanner.nextInt();
            String line= scanner.nextLine();
            String[]arr=line.split(" ");
            for (int i = 0; i < arr.length; i++) {
                System.out.println(arr[i]);
            }
//            System.out.println(line);
//            int a=0;
//            int b=1;
//            int c=0;
//            for (int i = 2; i < n; i++) {
//                c=a+b;
//                a=b;
//                b=c;
//            }
//            System.out.println(c%1000000);
        }
    }

    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int year1=0;
        int year2=0;
        int month1=0;
        int month2=0;
        int day1=0;
        int day2=0;
        year1=scanner.nextInt();
        month1=scanner.nextInt();
        day1=scanner.nextInt();
        year2=scanner.nextInt();
        month2=scanner.nextInt();
        day2=scanner.nextInt();


    }
}
